const express = require("express");
const app = express();
app.get('/',(req,res,next)=>{
	res.header('Access-Control-Allow-Origin', '*');
        res.header('Access-Control-Allow-Headers', 'Content-Type, Content-Length, Authorization, Accept, X-Requested-With , yourHeaderFeild');
        res.header('Access-Control-Allow-Methods', 'PUT, POST, GET, DELETE, OPTIONS');
	res.send("Hello World\n");
})
app.listen("8081");
console.log("Server running at http://localhost:8081");
